package org.example.model;

import lombok.Data;

import java.util.Date;

@Data
//这个注解是写在父项目中的，继承父项目的时候，子项目也能用
public class OrderInfo {
    private Integer id;
    private Integer userId;
    private Integer productId;
    private Integer num;
    private Integer price;//将单位写成分，误差更小
    private Integer deleteFlag;
    private Date createTime;
    private Date updateTime;
    private ProductInfo productInfo;
}
